import { FC } from 'react';
import { IRouteComponentProps } from 'umi';
import MinerDtIndex from '@/page-compoennt/miner-dt/MinerDtIndex';

const MinerDtPage = (
  props: IRouteComponentProps<{ mac: string; mid: string }>,
) => {
  const { match } = props;
  return (
    <MinerDtIndex mac={match.params.mac} mid={parseInt(match.params.mid)} />
  );
};

export default MinerDtPage;
